package si.unimb.client;

public class Pozicija{
	
	private short id;
	private short x;
	private short y;
	
	public Pozicija(){
		this((short)0, (short)0, (short)0);
	}
	
	public Pozicija(short id, short x, short y){
		setX(x);
		setY(y);
	}
	
	public void setId(short id) {
		this.id = id;
	}

	public short getId() {
		return id;
	}
	
	public void setX(short x) {
		this.x = x;
	}
	public short getX() {
		return x;
	}
	public void setY(short y) {
		this.y = y;
	}
	public short getY() {
		return y;
	}
	
	public String toString(){
		return "ID: " + getId() + ", X: " + getX() + ", Y: " + getY();
	}	
}